<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="UTF-8">
    <title>文件上传</title>
</head>
<body>
<form th:action="@{/upload/uploadfile}" enctype="multipart/form-data"
      method="post" th:method="post">
    上传用户：<input type="text" name="username"><br/>
    上传文件1：<input type="file" name="fileName"><br/>
    <input type="submit" value="提交">
</form>
</body>
</html>